home *** CD-ROM | disk | FTP | other *** search
/ Hyper Stacks 1994 May / Hyper Stacks (Pacific HiTech)(1994)[Mac].iso / Science / Biology / WayeBox Folder / WayeBox 1.1 / box3 / background_2624.txt < prev    next >
Encoding:
Text File  |  1990-06-13  |  9.4 KB  |  447 lines

  1. -- background: 2624 from stack: in
  2. -- bmap block id: 6480
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: waye address
  6.  
  7.  
  8. -- part 103 (button)
  9. -- low flags: 00
  10. -- high flags: 8000
  11. -- rect: left=302 top=292 right=342 bottom=379
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 27056 / 27056
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: go to stack 1
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   get word 3 of field 3
  23.   go to card id it of stack "BOX 2"
  24.   -- && put your own stack name in place of BOX 2
  25.  
  26.  
  27. end mouseUp
  28.  
  29.  
  30.  
  31. -- part 114 (button)
  32. -- low flags: 00
  33. -- high flags: 0000
  34. -- rect: left=155 top=309 right=337 bottom=192
  35. -- title width / last selected line: 0
  36. -- icon id / first selected line: 1014 / 1014
  37. -- text alignment: 1
  38. -- font id: 0
  39. -- text size: 12
  40. -- style flags: 0
  41. -- line height: 16
  42. -- part name: Prev
  43. ----- HyperTalk script -----
  44. on mouseUp
  45.   go to previous card
  46. end mouseUp
  47.  
  48.  
  49. -- part 115 (button)
  50. -- low flags: 00
  51. -- high flags: 0000
  52. -- rect: left=203 top=310 right=338 bottom=239
  53. -- title width / last selected line: 0
  54. -- icon id / first selected line: 1013 / 1013
  55. -- text alignment: 1
  56. -- font id: 0
  57. -- text size: 12
  58. -- style flags: 0
  59. -- line height: 16
  60. -- part name: Next
  61. ----- HyperTalk script -----
  62. on mouseUp
  63.   go to next card
  64. end mouseUp
  65.  
  66.  
  67. -- part 125 (button)
  68. -- low flags: 00
  69. -- high flags: 8000
  70. -- rect: left=17 top=294 right=338 bottom=120
  71. -- title width / last selected line: 0
  72. -- icon id / first selected line: 21209 / 21209
  73. -- text alignment: 1
  74. -- font id: 0
  75. -- text size: 12
  76. -- style flags: 0
  77. -- line height: 16
  78. -- part name: date
  79. ----- HyperTalk script -----
  80. on mouseUp
  81.   put the date into bkgnd field "date"
  82.  
  83. end mouseUp
  84.  
  85.  
  86.  
  87. -- part 127 (field)
  88. -- low flags: 00
  89. -- high flags: 0000
  90. -- rect: left=434 top=289 right=308 bottom=498
  91. -- title width / last selected line: 0
  92. -- icon id / first selected line: 0 / 0
  93. -- text alignment: 0
  94. -- font id: 3
  95. -- text size: 12
  96. -- style flags: 0
  97. -- line height: 16
  98. -- part name: location
  99.  
  100.  
  101. -- part 128 (field)
  102. -- low flags: 00
  103. -- high flags: 0000
  104. -- rect: left=89 top=303 right=322 bottom=196
  105. -- title width / last selected line: 0
  106. -- icon id / first selected line: 0 / 0
  107. -- text alignment: 0
  108. -- font id: 3
  109. -- text size: 12
  110. -- style flags: 0
  111. -- line height: 16
  112. -- part name: date
  113.  
  114.  
  115. -- part 129 (field)
  116. -- low flags: 00
  117. -- high flags: 0000
  118. -- rect: left=90 top=280 right=299 bottom=197
  119. -- title width / last selected line: 0
  120. -- icon id / first selected line: 0 / 0
  121. -- text alignment: 0
  122. -- font id: 3
  123. -- text size: 12
  124. -- style flags: 0
  125. -- line height: 16
  126. -- part name: ID
  127.  
  128.  
  129. -- part 130 (field)
  130. -- low flags: 00
  131. -- high flags: 0000
  132. -- rect: left=385 top=273 right=292 bottom=492
  133. -- title width / last selected line: 0
  134. -- icon id / first selected line: 0 / 0
  135. -- text alignment: 0
  136. -- font id: 3
  137. -- text size: 12
  138. -- style flags: 0
  139. -- line height: 16
  140. -- part name: name
  141.  
  142.  
  143. -- part 131 (field)
  144. -- low flags: 00
  145. -- high flags: 0000
  146. -- rect: left=420 top=306 right=324 bottom=502
  147. -- title width / last selected line: 0
  148. -- icon id / first selected line: 0 / 0
  149. -- text alignment: 0
  150. -- font id: 3
  151. -- text size: 12
  152. -- style flags: 0
  153. -- line height: 16
  154. -- part name: shelf Name
  155.  
  156.  
  157. -- part 132 (field)
  158. -- low flags: 00
  159. -- high flags: 0000
  160. -- rect: left=429 top=322 right=339 bottom=504
  161. -- title width / last selected line: 0
  162. -- icon id / first selected line: 0 / 0
  163. -- text alignment: 0
  164. -- font id: 3
  165. -- text size: 12
  166. -- style flags: 0
  167. -- line height: 16
  168. -- part name: freezer name
  169.  
  170.  
  171. -- part 133 (button)
  172. -- low flags: 00
  173. -- high flags: 8003
  174. -- rect: left=13 top=248 right=270 bottom=113
  175. -- title width / last selected line: 0
  176. -- icon id / first selected line: 0 / 0
  177. -- text alignment: 1
  178. -- font id: 0
  179. -- text size: 12
  180. -- style flags: 0
  181. -- line height: 16
  182. -- part name: go to shelf
  183. ----- HyperTalk script -----
  184. on mouseUp
  185.   push card
  186.   if field "shelf name" is empty then
  187.     ask "what is the name of the shelf"
  188.     if it is empty then exit mouseUp
  189.     put it into field "Shelf Name"
  190.   end if
  191.   put field "shelf Name" into ShelfName
  192.   go to stack "box2"
  193.   go to card item 1 of ShelfName
  194. end mouseUp
  195.  
  196.  
  197.  
  198.  
  199. -- part 134 (button)
  200. -- low flags: 00
  201. -- high flags: 8003
  202. -- rect: left=144 top=250 right=274 bottom=249
  203. -- title width / last selected line: 0
  204. -- icon id / first selected line: 0 / 0
  205. -- text alignment: 1
  206. -- font id: 0
  207. -- text size: 12
  208. -- style flags: 0
  209. -- line height: 16
  210. -- part name: rename button
  211. ----- HyperTalk script -----
  212. on mouseUp
  213.  
  214.   ask "What's the button number ?"
  215.   put it into bu
  216.   if it is empty then exit mouseUp
  217.   set the script of button bu to empty
  218.   get the script of backgrounD button "script template"
  219.   set the script of button bu to it
  220.   set the name of button bu to item 1 of field "name"
  221.  
  222. end mouseUp
  223.  
  224.  
  225.  
  226. -- part 135 (button)
  227. -- low flags: 00
  228. -- high flags: 8003
  229. -- rect: left=264 top=250 right=272 bottom=364
  230. -- title width / last selected line: 0
  231. -- icon id / first selected line: 0 / 0
  232. -- text alignment: 1
  233. -- font id: 0
  234. -- text size: 12
  235. -- style flags: 0
  236. -- line height: 16
  237. -- part name: pop card
  238. ----- HyperTalk script -----
  239. on mouseUp
  240.   pop card
  241. end mouseUp
  242.  
  243.  
  244.  
  245. -- part 136 (button)
  246. -- low flags: 00
  247. -- high flags: 8003
  248. -- rect: left=390 top=249 right=273 bottom=498
  249. -- title width / last selected line: 0
  250. -- icon id / first selected line: 0 / 0
  251. -- text alignment: 1
  252. -- font id: 0
  253. -- text size: 12
  254. -- style flags: 0
  255. -- line height: 16
  256. -- part name: script template
  257. ----- HyperTalk script -----
  258. on mouseUp
  259.   get word 3 of field 3
  260.   go to card id it of stack "box4"
  261. end mouseUp
  262.  
  263.  
  264.  
  265. -- part 138 (button)
  266. -- low flags: 00
  267. -- high flags: 8003
  268. -- rect: left=197 top=276 right=298 bottom=297
  269. -- title width / last selected line: 0
  270. -- icon id / first selected line: 0 / 0
  271. -- text alignment: 1
  272. -- font id: 0
  273. -- text size: 12
  274. -- style flags: 0
  275. -- line height: 16
  276. -- part name: go to freezer
  277. ----- HyperTalk script -----
  278. on mouseUp
  279.   push card
  280.   if field "freezer name" is empty then
  281.     ask "what is the name of the freezer"
  282.     if it is empty then exit mouseUp
  283.     put it into field "freezer Name"
  284.   end if
  285.   put field "freezer Name" into FreezerName
  286.   go to stack "box2"
  287.   go to card item 1 of FreezerName
  288. end mouseUp
  289.  
  290.  
  291.  
  292.  
  293. -- part 139 (button)
  294. -- low flags: 00
  295. -- high flags: 8003
  296. -- rect: left=391 top=223 right=245 bottom=491
  297. -- title width / last selected line: 0
  298. -- icon id / first selected line: 0 / 0
  299. -- text alignment: 1
  300. -- font id: 0
  301. -- text size: 12
  302. -- style flags: 0
  303. -- line height: 16
  304. -- part name: no. of cards
  305. ----- HyperTalk script -----
  306. on mouseUp
  307.   set userlevel to 5
  308.   put empty into message box
  309.   get number of cards
  310.   put "The total Number of Cards = " into word 1 of message
  311.   put it into word 7 of message
  312.   set userlevel to 2
  313. end mouseUp
  314.  
  315.  
  316.  
  317. -- part 140 (button)
  318. -- low flags: 00
  319. -- high flags: 8003
  320. -- rect: left=16 top=269 right=291 bottom=86
  321. -- title width / last selected line: 0
  322. -- icon id / first selected line: 0 / 0
  323. -- text alignment: 1
  324. -- font id: 0
  325. -- text size: 12
  326. -- style flags: 0
  327. -- line height: 16
  328. -- part name: Empty all 
  329. ----- HyperTalk script -----
  330. on mouseUp
  331.   answer "Do you want to empty all fields?" with "yes" or "no" or "cancel"
  332.   if it is "no" then exit mouseUp
  333.   if it is "cancel" then exit mouseUp
  334.   repeat with i=1 to 7
  335.     put empty into field i
  336.   end repeat
  337. end mouseUp
  338.  
  339.  
  340.  
  341. -- part 142 (field)
  342. -- low flags: 00
  343. -- high flags: 0000
  344. -- rect: left=107 top=197 right=216 bottom=214
  345. -- title width / last selected line: 0
  346. -- icon id / first selected line: 0 / 0
  347. -- text alignment: 0
  348. -- font id: 3
  349. -- text size: 12
  350. -- style flags: 0
  351. -- line height: 16
  352. -- part name: name of box
  353.  
  354.  
  355. -- part 144 (button)
  356. -- low flags: 00
  357. -- high flags: 8000
  358. -- rect: left=244 top=299 right=340 bottom=292
  359. -- title width / last selected line: 0
  360. -- icon id / first selected line: 32462 / 32462
  361. -- text alignment: 1
  362. -- font id: 0
  363. -- text size: 12
  364. -- style flags: 0
  365. -- line height: 16
  366. -- part name: Help
  367. ----- HyperTalk script -----
  368. on mouseUp
  369.   push card
  370.   go to card id 11167 of stack "box4"
  371. end mouseUp
  372.  
  373.  
  374.  
  375.  
  376. -- part 145 (button)
  377. -- low flags: 00
  378. -- high flags: 8003
  379. -- rect: left=391 top=196 right=220 bottom=488
  380. -- title width / last selected line: 0
  381. -- icon id / first selected line: 0 / 0
  382. -- text alignment: 1
  383. -- font id: 0
  384. -- text size: 12
  385. -- style flags: 0
  386. -- line height: 16
  387. -- part name: Name Card
  388. ----- HyperTalk script -----
  389. on mouseUp
  390.   put empty into NameCard
  391.   if field "Name of Box" is empty
  392.   then
  393.   ask "Please enter the name of this card:"
  394.   if it is empty then exit mouseUp
  395.   put it into NameCard
  396.   set the name of this card to empty
  397.   put NameCard into field "Name of Box"
  398. end if
  399.  
  400. if field "Name of Box" is not empty
  401. then
  402. put first line of field "Name of Box" into NameCard
  403. set the name of this card to NameCard
  404. end if
  405.  
  406. end mouseUp
  407.  
  408.  
  409.  
  410. -- part 146 (button)
  411. -- low flags: 00
  412. -- high flags: 8003
  413. -- rect: left=12 top=224 right=245 bottom=94
  414. -- title width / last selected line: 0
  415. -- icon id / first selected line: 0 / 0
  416. -- text alignment: 1
  417. -- font id: 0
  418. -- text size: 12
  419. -- style flags: 0
  420. -- line height: 16
  421. -- part name: New Card
  422. ----- HyperTalk script -----
  423. on mouseUp
  424.   answer "Make another card like this one? " with "yes" or "no" or "cancel"
  425.   if it is "cancel" then exit mouseUp
  426.   if it is "no" then
  427.     put "Go to the card which you want to copy" into the message box
  428.     exit mouseUp
  429.   end if
  430.  
  431.   if it is "yes" then
  432.  
  433.     domenu "copy Card"
  434.     domenu paste card
  435.     set name of this card to empty
  436.     repeat with i=1 to number of fields
  437.       put empty into field i
  438.     end repeat
  439.     repeat with i=1 to number of card fields
  440.       put empty into field i
  441.     end repeat
  442.     put empty into field "Name"
  443.   end if
  444.  
  445. end mouseUp
  446.  
  447.